import { defineStore } from 'pinia'

interface IConfigStore {
  imgUrl: string
  saveDirectory: string
}

export const useConfigStore = defineStore('configStore', {
  state(): IConfigStore {
    return {
      imgUrl: '',
      // 保存目录
      saveDirectory: ''
    }
  },
  persist: true
})
